package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import com.stylefeng.guns.modular.system.model.OperationLog;
import com.stylefeng.guns.modular.system.model.ReceiveBasicInformation;
import com.stylefeng.guns.modular.system.dao.ReceiveBasicInformationMapper;
import com.stylefeng.guns.modular.system.service.IReceiveBasicInformationService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author durui123
 * @since 2018-04-05
 */
@Service
public class ReceiveBasicInformationServiceImpl extends ServiceImpl<ReceiveBasicInformationMapper, ReceiveBasicInformation> implements IReceiveBasicInformationService {

	@Override
	public List<ReceiveBasicInformation> getReceiveBasic(
			Page<ReceiveBasicInformation> page, String receiveContractNumber,
			String startDate, String arrivalDate, String consigner,
			String consignee, String type, String consignerMobile,
			String consigneeMobile, String consignerPlace,
			String consigneePlace, String tradePerson, String orderByField,
			boolean asc) {
		// TODO Auto-generated method stub
		return this.baseMapper.getReceiveBasic(page, arrivalDate, startDate, consigner, receiveContractNumber, consignee, type, consignerMobile, consigneeMobile, consignerPlace, consigneePlace, tradePerson, orderByField, asc);
	}

	@Override
	public List<ReceiveBasicInformation> getCollectBasic(
			String receiveContractNumber) {
		return this.baseMapper.getCollectBasic(receiveContractNumber);
	}

	

}
